import {useRef, useEffect} from 'react'

const App = () => {
    const domRef = useRef()

    useEffect(() => {
        // setTimeout(() => {
        //     domRef.current.innerHTML = '房间爱都是理科'
        // }, 1000)
    }, [])
    return <h1 ref={domRef}>hhh</h1>
}

export default App